<?php

namespace App\Models;



/**
 * App\Models\Goods
 *
 * @property int $id
 * @property int|null $user_id 用户id(0表示平台)
 * @property int|null $category_id 分类id
 * @property string|null $category_name 分类名称
 * @property string|null $name 商品名称
 * @property string|null $cover 封面图片
 * @property string|null $price 价格
 * @property int|null $stock_num 库存/商品数
 * @property int|null $sale_num 销量
 * @property string|null $desc 商品介绍
 * @property string|null $content 商品详情(html)
 * @property int|null $collect_num 收藏数
 * @property int|null $score 评分
 * @property int|null $is_rec 热门推荐（1:是，0:否）
 * @property int|null $type 类型（1：实物商品，2：预约服务商品）
 * @property int|null $status 审核（1:已审核，0:待审核，2:审核失败）
 * @property int|null $service_am 服务时间：上午(1:服务，0:不服务)
 * @property int|null $service_pm 服务时间：下午(1:服务，0:不服务)
 * @property int|null $service_night 服务时间：晚上(1:服务，0:不服务)
 * @property int|null $service_all 服务时间：全天(1:服务，0:不服务)
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|Goods newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Goods newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Goods query()
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereCategoryId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereCategoryName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereCollectNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereCover($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereDesc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereIsRec($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereSaleNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereScore($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereServiceAll($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereServiceAm($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereServiceNight($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereServicePm($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereStockNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereUserId($value)
 * @mixin \Eloquent
 * @property int|null $praise_num 好评数
 * @property int|null $view_num 浏览数
 * @method static \Illuminate\Database\Eloquent\Builder|Goods wherePraiseNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Goods whereViewNum($value)
 */
class Goods extends Base
{
    protected $table = 'goods';
}
